ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / ShowSort Property






In This Topic
    ShowSort Property (FlexGridBase<T>)
    In This Topic
    Gets or sets whether the grid should display sort indicators in the column headers.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Overridable Property ShowSort As System.Boolean
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As System.Boolean
     
    instance.ShowSort = value
     
    value = instance.ShowSort
    [System.ComponentModel.DefaultValue(true)]
    public virtual System.bool ShowSort {get; set;}
    public read-write property ShowSort: System.Boolean; virtual; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set ShowSort : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property virtual System.bool get_ShowSort();
    public: __property virtual void set_ShowSort( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    virtual property System.bool ShowSort {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    Sorting is controlled by the sortDescriptions property of the ICollectionView object used as the grid's itemsSource.
    See Also